package cn.dw.mm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.dw.mm.domain.InspectionMission;
import cn.dw.mm.mapper.InspectionMissionMapper;
import cn.dw.mm.service.InspectionMissionService;

@Service
public class InspectionMissionServiceImpl implements InspectionMissionService {
	
	@Autowired
	private InspectionMissionMapper inspectionMissionMapper;

	@Override
	public Integer insertMission(InspectionMission inspectionMission) {
		return inspectionMissionMapper.insertMission(inspectionMission);
	}

	@Override
	public List<InspectionMission> selectByCondition(InspectionMission inspectionMission) {
		// TODO Auto-generated method stub
		return inspectionMissionMapper.selectByCondition(inspectionMission);
	}

}
